package com.b511.swpu.cementbackend.repository;


import com.b511.swpu.cementbackend.entity.SYSM_Company;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface SYSM_CompanyRepository extends JpaRepository<SYSM_Company, Long> {
    @Query(value = "select name from sysm_company",nativeQuery = true)
    List<String> findName();
}
